﻿<Window x:Class="SuperQuery.DBListUpgrade"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Database List Upgrade" Height="300" Width="300" Icon="Icons/SuperQuery.ico"
        WindowStartupLocation="CenterScreen" ShowInTaskbar="False" ResizeMode="NoResize"
        TextOptions.TextFormattingMode="Display" Closing="Window_Closing">
    <DockPanel>
        <TextBlock TextWrapping="Wrap" DockPanel.Dock="Top" Margin="5">
            The database list you are loading was saved with an earlier version of SuperQuery and has no server plugin
            associated with it. Please select a plug in from the list below:
        </TextBlock>

        <!--Dialog Buttons-->
        <DockPanel DockPanel.Dock="Bottom" LastChildFill="False">
            <Button x:Name="btnCancel" DockPanel.Dock="Right" Click="btnCancel_Click" KeyboardNavigation.TabIndex="9">Cancel</Button>
            <Button x:Name="btnOK" DockPanel.Dock="Right" Click="btnOK_Click" KeyboardNavigation.TabIndex="10">OK</Button>
        </DockPanel>
        
        <!--List of available plug ins-->
        <ListBox x:Name="lstServerPlugins" DockPanel.Dock="Top" Margin="5,0,5,5"
                 ItemTemplate="{StaticResource SelectablePlugin}" ItemsSource="{Binding AvailableServerPlugins}"
                 MouseDoubleClick="lstServerPlugins_MouseDoubleClick"/>
    </DockPanel>
</Window>
